package com.bajiao.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.math.BigDecimal;

@Data
@ApiModel("OrderDetailsAdmin")
public class OrderDetailsAdmin {

    @Excel(name = "产品名称", width = 30)
    @ApiModelProperty(value = "产品名称", required = true, position = 30)
    private String productTitle;

    @ApiModelProperty(value = "封面", required = true, position = 40)
    private String cover;

    @Excel(name = "单价", width = 20)
    @ApiModelProperty(value = "单价", required = true, position = 50)
    private BigDecimal price;

    @Excel(name = "购买数量", width = 20)
    @ApiModelProperty(value = "购买数量", required = true, position = 60)
    private Integer buyNum;
}
